home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / infor / ethernet.zip / ETHERNET.DOC
Text File  |  1993-03-13  |  19KB  |  450 lines

  1.  
  2. ETHERNET FOR OS/2
  3. Version 1.0
  4. July, 1991
  5.  
  6. This document is for support people and users of Ethernet-related
  7. products on OS/2 Extended Edition.  An understanding of OS/2,
  8. Communications Manager, and a basic familiarity with LAN concepts
  9. is assumed.
  10.  
  11. In this document, the term Ethernet shall be used to describe both
  12. Ethernet/DIX version 2 and IEEE 802.3 protocols.  OS/2 shall describe
  13. OS/2 EE version 1.2 or higher.
  14.  
  15. Currently the following adapters are supported for use with OS/2:
  16.  
  17.   IBM PS/2 Adapter/A for Ethernet Networks
  18.   3Com Etherlink II Network Adapter
  19.   3Com Etherlink/MC Network Adapter
  20.   Western Digital EtherCard PLUS Network Adapter
  21.   Western Digital EtherCard PLUS/A Network Adapter
  22.   Ungermann-Bass NIUpc Network Adapter
  23.   Ungermann-Bass NIUps Network Adapter
  24.  
  25. GENERAL INFORMATION
  26.  
  27.   Ethernet is not like token ring or some other networks that will
  28.   either continue to function or begin beaconing when a physical
  29.   connection is broken.  Ethernet is a bus topology.  It is daisy-
  30.   chained together and terminated on both ends.  The chain must
  31.   always be intact, or the whole network will go down.
  32.  
  33.   Ethernet is based on carrier sense multiple access with collision
  34.   detection (CSMA/CD) as its methodology.  Each adapter "listens" on
  35.   the network for a period of inactivity, and when it finds an available
  36.   time, it puts its packet out on the network.  If two packets are put
  37.   out on the network at the same time, it may cause a collision.  The
  38.   adapters that sent the packets are notified of the collision, this
  39.   causes them to wait a random amount of time before attempting to send
  40.   another packet.  During this time, other stations may transmit.  This
  41.   method, though it might not appear so, is very efficient.  However,
  42.   on large networks with high percentages of network utilization, problems
  43.   can occur.
  44.  
  45.   Two network protocols are supported for Ethernet --
  46.     o Ethernet DIX (Digital Intel Xerox) Ver 2.0
  47.     o IEEE 802.3
  48.   The major difference between the two is the encoding of the frames.
  49.   Neither offers better performance than the other.
  50.   **NOTE:**
  51.   These protocols are INCOMPATIBLE.  Only one or the other may exist
  52.   on any Ethernet network.  Communications Manager defaults to DIX, while
  53.   Lan Support Program 1.2 defaults to 802.3.  Be careful when configuring
  54.   a network with both OS/2 and DOS machines.
  55.  
  56.   There are three files that control Ethernet settings.  They are:
  57.     o PROTOCOL.INI - Tells what kind of adapter is being used and the
  58.                      parameters that are associated with that adapter.
  59.                      Resides in \CMLIB.
  60.     o CONFIG.SYS   - Tells what device drivers to load and what the
  61.                      Communications Manager file is.
  62.     o \CMLIB\*.CFG - Tells which adapter is 0 or 1, and what values the
  63.                      various protocol parameters in the network layers
  64.                      will be within Communications Manager.
  65.  
  66. ADAPTER INSTALLATION
  67.  
  68. 1. Install the adapter and run Automatic Configuration or Set Config-
  69.    uration as usual.  The ADF should be supplied with the card.
  70.    Record the Interrupt Level (IRQ), the IOBase address, and the
  71.    RAM address if applicable.  The settings here will override those
  72.    in the PROTOCOL.INI file, but PROTOCOL.INI should match up with these
  73.    values.
  74.  
  75. 2. If a token ring card co-exists in the machine, make the Ethernet adapter
  76.    primary by setting the token ring to alternate.
  77.  
  78. 3. The following adapter combinations in the same machine will not work:
  79.      o Two Western Digital cards
  80.      o Two Ungermann-Bass cards
  81.      o An Ethernet adapter and a PC Network adapter
  82.  
  83. CABLING INSTRUCTIONS
  84.  
  85.    This is one of the most critical parts of properly setting up an Ethernet
  86.    network.  There are three types of Ethernet cabling:  thin Ethernet,
  87.    standard (thick) Ethernet, and unshielded twisted pair.  This document
  88.    will only cover thin Ethernet.
  89.  
  90.    Thin Ethernet (sometimes called Cheapernet) uses RG58 A/U cables.  These
  91.    cables are attached to T connectors which are attached at the card via
  92.    1 of 2 methods, either through the BNC connector (the round, coaxial
  93.    connector) directly on the card, or to a BNC connector on a network
  94.    transceiver box which is then connected via the AUI, (the pin connector)
  95.    on the card.  Most thin Ethernet connections will be done without the
  96.    AUI.  Ungermann-Bass is the exception in that it uses the AUI
  97.    connection exclusively.
  98.  
  99. o Cable Installation for 3Com, Western Digital, and IBM Cards
  100.  
  101.   To install the cable you will need one T connector for each adapter, one
  102.   piece of RG58 A/U cable to run between each machine, and two 50 ohm
  103.   terminators.
  104.  
  105.   1. Put the T connector on the BNC connection on the card.
  106.   2. Place one terminator on one side of the T.
  107.   3. Attach a cable to the other side.
  108.   4. Place a T connector on the next card, hooking up one side with the
  109.      cable from the previous adapter, and plugging in a cable on the other
  110.      side.
  111.   5. Continue daisy chaining cable from machine to machine until the
  112.      last adapter has been reached, then plug in the other terminator.
  113.  
  114. o Cable Installation for Ungermann-Bass
  115.  
  116.   Ungermann-Bass makes use of a Network Transceiver box, into which the T
  117.   connector is already built.  To connect the box to the adapter,
  118.   simply connect the AUI cable between the two.  Then, using RG58 A/U cable,
  119.   daisy chain the transceiver boxes together as explained above in the
  120.   3Com and Western Digital instructions.  Make sure the line is properly
  121.   terminated with two 50 ohm terminators.
  122.  
  123. o Maximum length of Ethernet
  124.  
  125.   On large networks (over 100 stations), you will need to implement signal
  126.   strengthening devices called repeaters.  The maximum cable segment length
  127.   between repeaters is 300 meters.  The total network span cannot exceed
  128.   925 meters.  Up to 100 LAN stations are supported per segment.  1024 LAN
  129.   stations can be supported on the network.
  130.  
  131. o Ethernet vs. DFT cable
  132.  
  133.   Although DFT cable (RG62 A/U) is thicker but otherwise similar to
  134.   RG58 A/U, it is unacceptable as Ethernet cable.
  135.  
  136.  
  137. ADAPTER DEVICE DRIVER INSTALLATION FOR OS/2.
  138.  
  139. You must have OS/2 EE 1.2 or higher with Communications Manager and
  140. LAN Services support installed.
  141.  
  142. 1.  Use the Basic Configurations Services function to create the
  143.     Communications Manager Configuration (.CFG) file.  This file is
  144.     needed by LAN Requester.  Select the following as they appear.
  145.  
  146.     A.  LAN Services plus any CM features.
  147.  
  148.     B.  According to your requirements, select either LAN Requester or
  149.         LAN Server.
  150.  
  151.     C.  Adapter Type -  Select the appropriate adapter.  NOTE:  If you
  152.         are using the IBM Ethernet Adapter and it is not displayed,
  153.         select Western Digital "Ethercard PLUS/A".
  154.  
  155.     D.  Universal local LAN Adapter address - select YES.  If NO is
  156.         selected, ensure that the address used is not in conflict with
  157.         an address on the network.  Check with the network administrator
  158.         for the proper selection.
  159.  
  160. 2.  Complete the installation of the OS/2 software.
  161.  
  162. 3.  Restart the computer, the NETWKSTA.SYS device driver will fail until
  163.     the setup step described below are completed.
  164.  
  165. 4.  If you are using the IBM Ethernet Adapter complete the following
  166.     sequence (if you are using another adapter skip to step 5):
  167.  
  168.     A.  If you do not have it, obtain a copy of the IBM Ethernet
  169.         Adapter/A options diskette. (IBMers can get a copy by sending
  170.         a note to D940U04 AT AUSVM1 or ROB AT BCRVM5.  Customers can
  171.         ask their SE to acquire the latest one for them.)
  172.  
  173.     B.  Select the DOS mode of OS/2.
  174.  
  175.     C.  Insert the disk into drive A: and type INSTALL at the A: prompt.
  176.  
  177.     D.  Follow the instructions on the screen.
  178.  
  179. 5.  From the Communications Manager screen choose Advanced.
  180.  
  181. 6.  Select Option 4. Configuration.
  182.  
  183. 7.  Press Enter when the Specify Configuration File Name pop-up appears.
  184.  
  185. 8.  Select Option 6. LAN feature profiles.
  186.  
  187. 9.  Choose the Ethernet Adapter to be adapter 0.  If there are two Ethernet
  188.     adapters, it does not matter which is chosen as adapter 0.
  189.  
  190. 10. Select IEEE 802.2 and Change.  There will be a list of adapters displayed,
  191.     select the one you are using.  If you are using the IBM Ethernet Adapter
  192.     and it is not displayed, select Western Digital EtherCard PLUS/A Network
  193.     Adapter.  With some adapters you will be shown a list of shared RAM
  194.     addresses, choose the default unless you have specified a different shared
  195.     RAM address when configuring the machine.  If in doubt, use the reference
  196.     disk to verify the address.
  197.  
  198. 11. You now have a pop-up asking you to select either Ethernet DIX Version
  199.     2.0 or IEEE 802.3.  You must ensure that the same protocol is chosen for
  200.     every machine on the network.  The major difference between the two is the
  201.     frame structure.  Neither one offers major advantages over the other, but
  202.     the two protocols are mutually exclusive.
  203.  
  204. 12. After choosing the protocol, you will be in the Network Profile selection
  205.     menu.  Unless you have special reasons to adjust the parameters, just
  206.     press Enter to pass through the screens.
  207.  
  208. 13. Now you should be at the LAN Profile Configuration screen. Select Netbios
  209.     and Change and press enter.  All the defaults should be OK, unless you
  210.     have some reason to customize, just press enter on both screens.
  211.  
  212. 14. Press F3 to return to the Communications Manager Configuration Menu.
  213.  
  214. 15. Select Verify from the action bar, then select Run Verify from the pull-
  215.     down that appears.
  216.  
  217. 16. When the message "Verification of the configuration file is complete"
  218.     appears, restart the system.  If the file does not verify properly,
  219.     check the messages for further instructions.
  220.  
  221. MODIFYING PROTOCOL.INI
  222.  
  223. When you configure the machine, the default PROTOCOL.INI will be created
  224. for you.  You must modify it to suit your needs.  If you have used the
  225. IBM Ethernet adapter install diskette, you will not need to modify
  226. PROTOCOL.INI as it has already been done for you.
  227.  
  228. The following PROTOCOL.INI is for a PS/2 with an IBM Ethernet  Adapter.
  229. To change it to a Western Digital, you would change the "Bindings" statement
  230. to WDMAC, for Ungermann-Bass-- UBMAC, and so on.  Ensure that interrupts
  231. and RAM addresses match up with those that were referenced, if appropriate.
  232.  
  233. ; ---------------------  Protocol Manager Definition  -----------------------
  234.  
  235. ╒PROTOCOL_MANAGER■
  236.     DriverName = PROTMAN$
  237.  
  238. ; -------------------  IBM ETHERAND Protocol Definition  --------------------
  239.  
  240. ╒ETHERAND■
  241.     DriverName = OS2EE$
  242.     Bindings = IBMAC
  243.  
  244. ; The modules listed below are valid choices for the Bindings field.
  245. ;
  246. ;        (1)  TCMAC2 - 3Com Micro Channel Adapters
  247. ;        (2)  TCMAC - 3Com IBM PC-AT Adapters
  248. ;        (3)  WDMAC - Western Digital Micro Channel and IBM PC-AT Adapters
  249. ;        (4)  UBMAC - Ungermann-Bass Micro Channel and IBM PC-AT Adapters
  250. ;        (5)  IBMAC - IBM PS/2 Adapter/A for Ethernet Networks
  251. ;
  252. ;             NOTE: If you choose UBMAC, please check the AdapterType
  253. ;                   definition to ensure that it is correct for your
  254. ;                   adapter.
  255.  
  256. ; -------------------  3Com Network Adapter Definition  ---------------------
  257.  
  258. ╒TCMAC2■
  259.     DriverName = ELNKMC$
  260.     MaxTransmits = 10
  261. ╒TCMAC■
  262.     DriverName = ELNKII$
  263.     Interrupt = 3
  264.     IOAddress = 0x300
  265.     DMAChannel = 3
  266.     MaxTransmits = 10
  267.     Transceiver  = Onboard
  268.  
  269. ; --------------  Western Digital Network Adapter Definition  ---------------
  270.  
  271. ╒WDMAC■
  272.     DriverName = MACWD$
  273.     IRQ = 3
  274.     RamAddress = 0xC400
  275.     IOBase = 0x280
  276.     ReceiveBuffers = 16
  277.     ReceiveChains = 16
  278.     MaxRequests  = 10
  279.     MaxTransmits = 10
  280.     ReceiveBufSize = 256
  281.  
  282. ; --------------  Ungermann-Bass Network Adapter Definition  ----------------
  283.  
  284. ╒UBMAC■
  285.     DriverName = UBMAC$
  286.     AdapterType = NIUps
  287.     MemoryWindow = 0xD8000
  288.     IO_Port = 0x350
  289.     IRQ_Level = 4
  290.     MaxRequests = 10
  291.     MaxTransmits = 10
  292.     ReceiveBufSize = 600
  293.     MaxMulticast = 20
  294.     UseReceiveChain = Never
  295.  
  296. ; --------------  IBM PS/2 Adapter for Ethernet Networks  ---------------
  297.  
  298. ╒IBMAC■
  299.     DriverName = MACETH$
  300.     IRQ = 10
  301.     RamAddress = 0xD800
  302.     IOBase = 0x200
  303.     ReceiveBuffers = 16
  304.     ReceiveChains = 16
  305.     MaxRequests  = 10
  306.     MaxTransmits = 10
  307.     ReceiveBufSize = 256
  308.  
  309. ;**** END OF FILE ****
  310.  
  311.  
  312. MODIFYING CONFIG.SYS
  313.  
  314. Your CONFIG.SYS file should be automatically configured when you install the
  315. machine.  The following statements are the minimum needed to run an Ethernet
  316. network properly:
  317.  
  318.   DEVICE=C:\CMLIB\LANDD.SYS
  319.   DEVICE=C:\CMLIB\PROTMAN.OS2 /I:C:\CMLIB
  320.   DEVICE=C:\CMLIB\<drivername>.OS2
  321.   DEVICE=C:\CMLIB\ETHERDD.SYS CFG=C:\CMLIB\<config file name>.CFG
  322.   DEVICE=C:\CMLIB\NETBDD.SYS CFG=C:\CMLIB\<config file name>.CFG
  323.   RUN=C:\CMLIB\ACSEPSYS.EXE
  324.   RUN=C:\CMLIB\NETBIND.EXE
  325.  
  326.  
  327. CONFIGURING TWO ETHERNET ADAPTERS
  328.  
  329. a)  You can use two IBM or 3Com adapters in the same machine but only
  330.     one Western Digital or Ungermann-Bass (there is no secondary NDIS
  331.     driver and a renamed copy of the driver is not valid).  You can also
  332.     use two Ethernet adapters of different makes.
  333.  
  334. b)  You need a command in CONFIG.SYS for the NDIS driver for each
  335.     adapter.  These commands must be consecutive, primary first.
  336.  
  337. c)  A driver for the second IBM adapter is provided (MACETH2.OS2).  For
  338.     the 3Com adapter, just list ELNKMC.OS2 a second time.
  339.  
  340. d)  By putting a comma (,) in front of the entry for the BINDINGS = field,
  341.     for example, BINDINGS = ,WDMAC.  The sequence determines which is
  342.     primary and which is alternate (primary is first).
  343.  
  344. e)  In the Communications Manager "LAN Profile Configuration" screen, choose
  345.     adapter 1 instead of 0 and follow the instructions Adapter Installation
  346.     instructions.  If you're using two IBM Ethernet adapters, choose the
  347.     3Com/Etherlink MC adapter for your second choice.
  348.  
  349.  
  350. TROUBLE SHOOTING
  351.  
  352.   Errors in opening the adapter
  353.     If you have problems you suspect to be adapter related, there are two
  354.     ways to test the card.  First, you should run the diagnostics that came
  355.     with the card, though they can be somewhat unreliable.  Then conduct a
  356.     loopback test by placing two 50 ohm terminators on a T connector and
  357.     then placing the T connector on the card.  Do not place a 50 ohm
  358.     terminator directly on the BNC connection of the adapter.  You may
  359.     however, use a 25 ohm adapter if you wish to terminate the card in
  360.     such a way.  By terminating the card, you can isolate adapter problems
  361.     from network problems.
  362.  
  363.   Failure to bind
  364.     These are the most common types of failures and also the hardest to
  365.     track down.  Should a machine fail to bind, there are probably errors
  366.     in PROTOCOL.INI or CONFIG.SYS.  Check that the entry in the bindings
  367.     statement in PROTOCOL.INI is appropriate to the adapter type.  Verify
  368.     that the proper <fn>.OS2 file is pointed to in CONFIG.SYS.  Verify
  369.     spelling.  Check that all files pointed to are in their proper
  370.     directories and that the filenames are spelled correctly.  After that
  371.     consult your local Ethernet guru.  If you are the local Ethernet guru
  372.     you're on your own.
  373.  
  374.   Boot time failures
  375.     If you get an 06421 error at boot time, the IBM Ethernet adapter is not
  376.     properly plugged into the network.  Check the connections to the
  377.     adapter.
  378.  
  379.   Hangs
  380.     Hangs can be caused by Ethernet adapters.  On some cards, there is a
  381.     jumper setting for BNC or AUI connection.  If this is improperly
  382.     set, it will hang the machine.
  383.  
  384.   Starting Lan requester
  385.     When starting the LAN requester service, the machine may hang
  386.     because of improper configuration in Communications Manager
  387.     or a difference in protocol (IEEE 802.3 vs. Ethernet DIX).
  388.  
  389.   Intermittent errors
  390.     Intermittent errors are usually hardware related.  There are, of course,
  391.     exceptions to the rule, but shorts in cables, adapters, BNC and AUI
  392.     connections are more often the source of the problem than is software.
  393.     Broken and improperly installed terminators can be the source of these
  394.     kinds of errors, as can terminators of the wrong impedance.  The best way
  395.     to isolate these problems is, if possible, to isolate that portion of the
  396.     network by terminating a portion of the line and attempting to recreate
  397.     the failure.  Expand or decrease the size of the terminated line until
  398.     you can isolate the area of the failure.  There is a high probability
  399.     that the problem exists with a cable, terminator, or T-connector in that
  400.     area.
  401.  
  402.  
  403. CAVEATS
  404.  
  405. o  Two Ungermann-Bass adapters CANNOT exist in the same machine.
  406.  
  407. o  Two Western Digital adapters CANNOT exist in the same machine.
  408.  
  409. o  A PC Network Adapter and an Ethernet Adapter CANNOT exist in the same
  410.    machine.
  411.  
  412. o  If there is a 3Com Ethernet adapter, token ring adapter, and an SDLC card
  413.    in same machine, the 3Com IRQ level has to be set on int 9 or else a
  414.    CONFIS.SYS error will be generated.
  415.  
  416. o  Watch out for defaults with DOS and OS/2 machines on the same net, OS/2
  417.    defaults to ETHERNET/DIX, DOS to 802.3.
  418.  
  419. o  When using the 8209 bridge:
  420.      Make sure frame sizes on token ring side are set to 1496.
  421.      Use 802.3 mode.
  422.  
  423. o  If communicating with non-IBM products on Ethernet, you may have to perform
  424.    bit-reversal on each byte of the adapter address.  See the Communications
  425.    Manager Systems Administrator's Guide for details.
  426.  
  427. o  When using a 486 machine with 3Com adapters, you must use the 3C523B
  428.    adapter.
  429.  
  430. o  When using Ungermann-Bass make sure the adapter type is correct in
  431.    PROTOCOL.INI, NIUps for Micro-Channel and NIUpc for AT bus.
  432.  
  433. o  When configuring an AT, the user must be very careful to insure that
  434.    the IO Base and RAM address defaults are not in conflict with other
  435.  
  436. _____________________________________________________________________________
  437.  
  438.  
  439. This document blatantly takes much of its format and content from
  440. Julian Over's LSP 1.2 document, and I am grateful for his permission to
  441. do so.  I also am indebted to David Young, Mark Simpson, Janice Manley,
  442. and the LAN and Communications Manager 2.5 support groups for their help
  443. in preparing this document.
  444.  
  445. Any questions, comments, suggestions, corrections, lucid insights, or
  446. unsolicited testimonials may be sent to the author, Heath Newburn via
  447. D940U04 at AUSVM1.
  448.  
  449.  
  450.